Skip to content

Handle new mongot config schema #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 17, 2025

Conversation

lsierant
Copy link
Contributor

@lsierant lsierant commented Jul 4, 2025

Summary

Implements minimum necessary changes to run against newest mongot container built from master:

  • Workaround for mongot's requirement of password file having owner-only permissions
  • New config schema structure
  • Switched default mongot image to ECR
  • Simulated searchCoordinated role

@lsierant lsierant force-pushed the lsierant/search-config-schema branch 3 times, most recently from 9906c42 to 4cc828f Compare July 11, 2025 05:47
Enabled: true,
Address: fmt.Sprintf("localhost:%d", search.GetMongotMetricsPort()),
},
Logging: mongot.Logging{
HealthCheck: mongot.ConfigHealthCheck{
Address: "0.0.0.0:8080",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to read from a config?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so, we know in the operator what we're setting here, so the readiness probe can be configured accordingly.

@lsierant lsierant force-pushed the lsierant/search-config-schema branch from 4cc828f to 90b7a37 Compare July 16, 2025 11:11
@lsierant
Copy link
Contributor Author

evergreen refresh


if ! /mongot-community/mongot --config /mongot/config/config.yml; then
echo "mongot error code, sleeping to allow to ssh"
sleep 600
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is temporary, to be removed before merging

@lsierant lsierant force-pushed the lsierant/search-config-schema branch from 25205fa to 6b79a6f Compare July 16, 2025 21:55
@lsierant lsierant force-pushed the lsierant/search-config-schema branch from 6b79a6f to f438d3e Compare July 16, 2025 22:20
@lsierant lsierant marked this pull request as ready for review July 17, 2025 14:06
@lsierant lsierant requested a review from a team as a code owner July 17, 2025 14:06
@lsierant lsierant requested review from m1kola and viveksinghggits and removed request for a team July 17, 2025 14:06
@lsierant lsierant merged commit 167e26b into search/public-preview Jul 17, 2025
1 check failed
@lsierant lsierant deleted the lsierant/search-config-schema branch July 17, 2025 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants